package com.hyt.it.ogt.ks.model.vo;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author liuhh
 */
@Data
@Accessors(chain = true)
@ToString
@ApiModel(value = "小题题目信息")
public class PaperQuestionVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "小题序号")
    private Integer itemSort;

    @ApiModelProperty(value = "小题ID")
    private String itemId;

    @ApiModelProperty(value = "小题题干内容")
    private String itemContent;
    
    @ApiModelProperty(value = "小题题型")
    private String itemType;

    @ApiModelProperty(value = "小题标答")
    private String standardAnswer;

    @ApiModelProperty(value = "分值")
    private String score;

    @ApiModelProperty(value = "考生作答答案")
    private String userAnswer;

    @ApiModelProperty(value = "答案解析")
    private String description;

    @ApiModelProperty(value = "开启试题计时 false：未开启  true：开启'")
    private Boolean openItemTiming;

    @ApiModelProperty(value = "作答时长（豪秒）考务设置")
    private Long outTimeSecond;

    @ApiModelProperty(value = "复合题-子小题")
    private List<PaperQuestionVO> childItemList;

    @ApiModelProperty(value = "题目选项")
    private List<TopicOptionVO> optionsDataList;

    @ApiModelProperty(value = "题干资源文件")
    private List<ItemFileDTO> stemAttrs;

    @ApiModelProperty(value = "答案解析资源文件")
    private List<ItemFileDTO> descriptionAttrs;

    @ApiModelProperty(value = "标答资源文件")
    private List<ItemFileDTO> answerAttrs;

    @ApiModelProperty(value = "属性数据列表")
    private List<ItemAttrDTO> attrsDataList;

    @ApiModelProperty(value = "所属大题题干内容")
    private String parentItemContent;

    @ApiModelProperty(value = "所属大题总分值")
    private String parentScore;

    @ApiModelProperty(value = "所属大题排序")
    private Integer parentSort;

    @ApiModelProperty(value = "所属大题题干资源文件")
    private List<ItemFileDTO> parentStemAttrs;

    @ApiModelProperty(value = "答题作答时长（毫秒）")
    private Long answerTime;

    @ApiModelProperty(value = "答题剩余时长（毫秒）")
    private Long surplusTime;

}
